<template>
  <div style="text-align: center;">
    <iframe :src="flowUrls" width="100%" :height="flowHeight?flowHeight:500" title="流程图" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes"></iframe>
  </div>
</template>
<script>
export default {
  props: ['flowUrl','flowHeight'],
  computed: {
    flowUrls() {
       return `/api/blade-flow/process/diagram-view?processInstanceId=${this.flowUrl}`;
    }
  },
  created() {
  },
};
</script>

<style>
</style>
